//
// Created by wujehy on 2020/4/15.
//

#include "ServerContext.h"

const std::string &ServerContext::getToken() const
{
    return token;
}

void ServerContext::setToken(const std::string &token)
{
    ServerContext::token = token;
}

const std::string &ServerContext::getUsername() const
{
    return username;
}

void ServerContext::setUsername(const std::string &username)
{
    ServerContext::username = username;
}

int64_t ServerContext::getUid() const
{
    return uid;
}

void ServerContext::setUid(int64_t uid)
{
    ServerContext::uid = uid;
}

const std::string &ServerContext::getDeviceToken() const
{
    return deviceToken;
}

void ServerContext::setDeviceToken(const std::string &deviceToken)
{
    ServerContext::deviceToken = deviceToken;
}

